-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index range access branch with recoveredtbasket #239
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #239 +/- ##
==========================================
- Coverage 87.50% 87.36% -0.14%
==========================================
Files 18 18
Lines 2281 2288 +7
==========================================
+ Hits 1996 1999 +3
- Misses 285 289 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
can we have benchmark? this is hot spot in our code |
It looks still a little bit messy, I just pushed to let you know I'm on that. I try to clean/optimize this later a little bit and then we can do some benchmarks 👍 |
@Moelf what benchmarks are you having in mind ... when doing:
I get for my testfile:
So not really a change for the case of no recovered TBasket. |
maybe hit it with for evt in tree
evt.branch
end
|
can we have an even more basic test, that is not doing why can't we just have |
also why are we adding tests for |
I think there is no sample file with a recovered tbasket which can be used that easy at the moment. So the idea was to add at least some tests for the |
I see. According to code coverage, we're not testing any of the added logic anyway, which is clearly gonna be the case until we have a sample file, we can wait I guess |
Yes, it's difficult to find a small file with recovered baskets. I was not able to produce one yet. I think it's fine like this. @8me verified that the indexing works with one of our large files and I'd say it's good enough for now. The We can go ahead with the merge, just need one or two lines of comments regarding |
55afe68
to
58912bf
Compare
When accessing a branch using an index range there is still an error if a recovered basket is at the end. Trying to solve that problem ...